from typing import Union

from fastapi import FastAPI
import uvicorn

from app01.urls import *
from app02.urls import *

app = FastAPI()

app.include_router(app01, prefix="/app01", tags=["第一章节：商城接口", ])
app.include_router(app02, prefix="/app02", tags=["第二章节：用户中心接口", ])

if __name__ == '__main__':
    uvicorn.run("main:app", host="127.0.0.1", port=8080, log_level="debug", reload=True)
